package com.neusoft.nep.GridOfficer.controller;

import javafx.fxml.FXML;
import javafx.scene.control.Button;
import javafx.scene.control.Label;

public class ListViewRowItemController {
    @FXML
    private Label lblLevel;
    @FXML
    private Label lblAddr1;
    @FXML
    private Label lblAddr2;
    @FXML
    private Button btnCheck;

    // 给组件设置数据
    public void setData(String index, String addr1, String addr2, String btnText) {
        lblLevel.setText(index);
        lblAddr1.setText(addr1);
        lblAddr2.setText(addr2);
        btnCheck.setText(btnText);
}
}
